package com.ssn.template.software;

public class JudgeUserType {

    public SoftWare judgeType(User user){
        if (user.getUserType().equals("normal")){
            return new Percent();
        }
        if (user.getUserType().equals("special")){
            return new Solid();
        }
        return null;
    }
}
